ReadShape
TheReadShape
method reads shape data from the specified storage unit into this shape.
ODShape ReadShape (in ODStorageUnit storageUnit);
storageUnit
- A reference to the storage unit from which data is to be read.
- return value
- A reference to this shape.
DISCUSSION
Before calling this method, you must focus the storage unit to the property that contains the shape data.If the focused property contains a value of type
kODPolygon
, this method reads the shape data from that value. Otherwise, if the focused property contains a value of a platform-specific shape value type, this method reads the shape data from that value.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a property or a value.
SEE ALSO
TheODShape::WriteShape
method (page 655).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help